local sk__zongyu = fk.CreateSkill {

  name = "sk__zongyu",

  tags = { Skill.Compulsory, },

}



sk__zongyu:addEffect(fk.CardUseFinished, {
  name = "sk__zongyu",
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(sk__zongyu.name) and data.card.type == Card.TypeTrick and player.phase == Player.Play
  end,
  on_use = function(self, event, target, player, data)
    player.room:useVirtualCard("analeptic", nil, player, player, sk__zongyu.name, true)
  end,
})

return sk__zongyu